Skip to content

Support array_values in ArrayFirstLastRector#7830

Merged
TomasVotruba merged 4 commits intorectorphp:mainfrom
Orest-Divintari:orest/array-value-first-to-array-first
Jan 18, 2026
Merged

Support array_values in ArrayFirstLastRector#7830
TomasVotruba merged 4 commits intorectorphp:mainfrom
Orest-Divintari:orest/array-value-first-to-array-first

Conversation

@Orest-Divintari
Copy link
Contributor

Update The ArrayFirstLastRector rule to convert array_values to array_first or array_last

@Orest-Divintari
Copy link
Contributor Author

hi @samsonasik
could you please have a look whenever you have time ?

@TomasVotruba
Copy link
Member

@Orest-Divintari Thank you 👍 Lets give this a go

@TomasVotruba TomasVotruba merged commit 8627ee8 into rectorphp:main Jan 18, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments